#include <stdio.h>
#include <time.h>
#include "h/test.h"
#include <string.h>
#include <stdlib.h>

typedef const int zip;

zip const static_store = 30;
const char * pcg = "String Literal";

int main(void)
{

    int auto_store = 40;
    char auto_string[] = "Auto char Array";

    int * pi;
    char * pcl;

    pi = (int *) malloc(sizeof(int));
    *pi = 35;

    pcl = (char *) malloc(strlen("Dynamic String") + 1);
    strcpy(pcl, "Dynamic String");

    printf("static_store:%d at %p\n", static_store, &static_store);
    printf("%s at %p\n", pcg, pcg);

    printf("auto_store:%d at %p\n", auto_store, &auto_store);
    printf("%s at %p\n", auto_string, auto_string);

    printf("     *pi:%d at %p\n", *pi, pi);
    printf("%s at %p\n", pcl, pcl);
    printf("%s at %p\n", "Quoted String", "Quoted String");

    return 0;
}
